package com.atwl.school_system.mapping;

import com.atwl.school_system.bean.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserDao {

    UserInfo getUserByName(@Param("phone") String phne);

    Boolean register(@Param("username") String username, @Param("userId") String userId, @Param("phone") String phone, @Param("password") String password);

}
